<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ include file="/WEB-INF/layout/header.jsp"%>

<h1>
   <fmt:message key="meterdata.add" />
</h1>
<div class="span-24">
   <form:form modelAttribute="meterdata" action="${meterdata.id}" method="post" >
      <fieldset>
         <legend>
            <fmt:message key="meterdata.details" />
         </legend>
         <p>
            <form:label for="areaId" path="areaId">areaId</form:label>
            <br />
            <form:input readonly="true" path="areaId" />
         </p>
         <p>
            <form:label for="facilityId" path="facilityId">facilityId</form:label>
            <br />
            <form:input readonly="true" path="facilityId" />
         </p>
         <p>
            <form:label for="readValue" path="readValue">readValue</form:label>
            <br />
            <form:input readonly="true" path="readValue" />
         </p>
      </fieldset>
   </form:form>
   <a href="/meterdata"><fmt:message key="meterdata.list" /></a>
</div>

<%@ include file="/WEB-INF/layout/footer.jsp"%>